package com.itguigu.pojo;


public class cat {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    //默认包含无参数构造函数
    //小猫叫
    public void shout(){
        System.out.println( this.name +  "  :miaomiao");
    }
}